/**
 * 角色类型
 */
export interface Role {
  id: number;
  name: string;
  code: string;
  description: string;
  createTime: string;
  updateTime?: string;
  status: string;
}

/**
 * 角色表单类型
 */
export interface RoleForm {
  id?: number;
  name: string;
  code: string;
  description: string;
  status: string;
}

/**
 * 权限类型
 */
export interface Permission {
  id: number;
  name: string;
  type: 'module' | 'menu' | 'button';
  parentId?: number;
  children?: Permission[];
} 